Skip to content

Conversation

@leolost2605
Copy link
Member

We very often use AnimationSettings.get_enable_animations ? some duration : 0;. This is now done by AnimationSettings.get_animation_duration. The method can also be expanded upon in the future e.g. by moving all hardcoded times to an enum and take that (e.g. expanding the AnimationDuration enum from constants and using that).

@leolost2605 leolost2605 requested a review from a team November 2, 2024 11:24
@leolost2605 leolost2605 requested a review from lenemter November 2, 2024 14:04
@lenemter lenemter merged commit b2bfe28 into main Nov 7, 2024
4 checks passed
@lenemter lenemter deleted the leolost/introduce-get-animation-duration branch November 7, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants